package com.xuegao.xuegaololskills.swing;

import javax.swing.*;

public class MyFrame extends JFrame {
    MyPanel root = new MyPanel();

    public MyFrame(String title) {

        super(title);

        this.setContentPane(root); //设置内容面板

        root.setLayout(null);

    }

}

